package cn.tedu.charging.cost.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.math.BigDecimal;

/**
 * 计价规则的PO
 */
@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
@TableName("charging_cost_rule")
public class CostRulePO {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //用户Id
    private  Integer userId;
    //充电站Id
    private Integer stationId;
    //充电枪类型
    private Integer gunType;
    //尖峰平谷
    private String name;
    //开始时间
    private Integer startTime;
    //结束时间
    private Integer endTime;
    //价格
    private BigDecimal powerFee;
    //服务费
    private BigDecimal serviceFee;

}
